#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
"""
商品 li = ["手机", "电脑", '鼠标垫', '游艇']
"""

li = ["手机", "电脑", '鼠标垫', '游艇']
while True:
    for l in enumerate(li, 0): print(l)
    chiose = int(input("请输入选项： ").strip())
    if chiose >= len(li):
        print("超出选项")
        continue
    print("您的选择是: {}".format(li[chiose]))
    break